Total Complexity | 29 |
Dependencies | 6 |
Dependents | 0 |
Total lines | 151 |
Lines of code | 88 |
Logical lines of code | 52 |
Comment lines | 48 |
Methods | 6 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add() | 46 | 9 | 36 | |
validate_cart_request() | 60 | 8 | 12 | |
validate_item_qty() | 61 | 5 | 12 | |
remove() | 58 | 3 | 14 | |
get_cart_instance() | 65 | 3 | 8 | |
__construct() | 70 | 1 | 6 |